package com.heima.behavior.service;

import com.heima.model.behavior.dtos.LikesBehaviorDto;
import com.heima.model.behavior.dtos.ReadBehaviorDto;
import com.heima.model.common.dtos.ResponseResult;

/**
 * @author Psycho
 * @create 2022-05-03-12:18
 */
public interface BehaviorService {
    /**
     * 点赞或者取消点赞
     * @param dto
     * @return
     */
    ResponseResult likeOrNotLike(LikesBehaviorDto dto);

    /**
     * 文章的查看次数
     * @param dto
     * @return
     */
    ResponseResult readArticleCount(ReadBehaviorDto dto);
}
